<template>
  <div style="width:200px;">
      <div class="wrap" style="width: 100%;
    position: relative;">
          <div class="left-bar" style="width: 2px;
    height: 60px;
    background-color: #00704E;
    position: absolute;"></div>
          <div class="title" style="color: #fff;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 14px;">各赛区后续赛事计划安排</div>
          <div class="content" style="width: 90%;
    margin-left: 10px;
    font-size: 12px;
    color: #fff;">
              <div class="item" v-for="item in datalist" :key="item.id" style="padding-top: 8px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;">
                <img :src="item.eventsIcon" class="icon" alt="" style="width: 20px;
    height: 20px;">
                <div>{{item.events}}</div>
                <div>{{item.time}}</div>
                <span style="display: inline-block;
    width: auto;
    height: 18px;
    border-radius: 9px;
    text-align: center;
    line-height: 18px;
    padding: 0 5px;
    background-color: #006F4E;">{{item.place}}</span>
              </div>
          </div>
      </div>
  </div>
</template>

<script>
export default {
    data() {
        return {
            datalist: [
                {
                    place: '石景山', //比赛区域
                    time: '10:00', //比赛时间段
                    eventsIcon: require('../assets/2.png'), //比赛项目图标
                    events: '短道速滑', //比赛项目
                },
                {
                    place: '石景山', //比赛区域
                    time: '10:00', //比赛时间段
                    eventsIcon: require('../assets/2.png'), //比赛项目图标
                    events: '短道速滑', //比赛项目
                },
                {
                    place: '石景山', //比赛区域
                    time: '10:00', //比赛时间段
                    eventsIcon: require('../assets/2.png'), //比赛项目图标
                    events: '短道速滑', //比赛项目
                },
            ]
        }
    },
}
</script>

<style>
/* 
.wrap{
    width: 100%;
    position: relative;
}
.left-bar{
    width: 2px;
    height: 60px;
    background-color: #00704E;
    position: absolute;
}
.title{
    color: #fff;
    margin-left: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}
.content{
    width: 90%;
    margin-left: 10px;
    font-size: 12px;
    color: #fff;
}
.item{
    padding-top: 8px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon{
    width: 20px;
    height: 20px;
}
.item span{
    display: inline-block;
    width: auto;
    height: 18px;
    border-radius: 9px;
    text-align: center;
    line-height: 18px;
    padding: 0 5px;
    background-color: #006F4E;
} */

</style>